package com.mvc.bean;

import java.util.HashMap;
import java.util.Map;

public class XmlBean {
	
	private String beanName;
	private String beanClass;

	private String actionClass;
	private String path;
	private Map<String, String> actionForward = new HashMap<String, String>();

	public XmlBean() {
	}

	public XmlBean(String beanName, String beanClass, String actionClass, String path,
			Map<String, String> actionForward) {
		this.beanName = beanName;
		this.beanClass = beanClass;
		this.actionClass = actionClass;
		this.path = path;
		this.actionForward = actionForward;
	}

	@Override
	public String toString() {
		return "beanName=>" + beanName + "||beanClass==>" + beanClass + "||actionClass==>" + actionClass + "||path==>"
				+ path;
	}

	/*** get&set ***/

	public String getBeanName() {
		return beanName;
	}

	public void setBeanName(String beanName) {
		this.beanName = beanName;
	}

	public String getBeanClass() {
		return beanClass;
	}

	public void setBeanClass(String beanClass) {
		this.beanClass = beanClass;
	}

	public String getActionClass() {
		return actionClass;
	}

	public void setActionClass(String actionClass) {
		this.actionClass = actionClass;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public Map<String, String> getActionForward() {
		return actionForward;
	}

	public void setActionForward(Map<String, String> actionForward) {
		this.actionForward = actionForward;
	}
}
